package com.mxpio.erp.common.mes.service;

import com.mxpio.erp.common.mes.entity.ManufactureWorkOrderTask;
import com.mxpio.erp.common.mes.entity.MesScanInfo;
import com.mxpio.erp.common.mes.vo.ScanInfoVo;
import com.mxpio.erp.common.technology.entity.WorkShop;
import com.mxpioframework.common.vo.Result;
import com.mxpioframework.system.service.BaseService;

import java.util.List;

public interface MesScanInfoService extends BaseService<MesScanInfo> {
    Result<List<WorkShop>> loadWorkUnit(String procMode);

    Result<List<ManufactureWorkOrderTask>> getWorkOrderTaskList(String workUnitCode);

    Result<ScanInfoVo> loadWorkOrderTask(MesScanInfo operateInfo);

    Result<ScanInfoVo> scanWorkOrderTaskCode(ScanInfoVo scanInfoVO);

    Result<ScanInfoVo> loadWorkOrderTaskByBatchCode(MesScanInfo operateInfo);

    Result<ScanInfoVo> loadManufactureOrderByBatchCode(ScanInfoVo operateInfo);

    Result<ScanInfoVo> scanAssemble(ScanInfoVo scanInfoVO);

    Result<ScanInfoVo> scanMachine(ScanInfoVo scanInfoVO);
}
